package com.zyh.day01

object WhileTest {
  def main(args: Array[String]): Unit = {
    var i = 0
    while(i<=10){
      println(s"i = ${i}")
      i+=1
    }

    do{
      println(s"i = ${i}")
      i+=1
    }while(i<=20)

  }
}
